<div class="hp-tab-newprd">
    <?php if(!is_iframe()){?>
        <ul class="j-sw-nav">
            <li class="newprd-s1 tab-li on"><a href="javascript:void(0)">查看</a></li>
            <li class="newprd-s2 tab-li"><a href="javascript:void(0)">添加</a></li>
        </ul>
    <div class="table-div">
    <?php }?>
        <div class="form-label">基本信息:</div><?php print render($form['province']); ?>
        <div class="small-select column" style="clear:both">
            <div class="small-input"><div class="form-label">姓名:</div><?php print render($form['farmer_info']['farmer_name']); ?></div>
            <div class="gender"><div class="form-label">性别:</div><?php print render($form['farmer_info']['gender']); ?></div>
        </div>

    </div>
    <div class="newprd-s2" style="display: none;"><div class="table-div"><iframe marginwidth=0 marginheight=0 width=800px height=600 frameborder=0 src="<?php echo base_path();?>farmer/fertilization/add?<?php echo isset($_GET['plant_info_id']) ? 'plant_info_id='.$_GET['plant_info_id'] :'soil_info_id='.$_GET['soil_info_id']; ?>/iframe"></iframe></div></div>
    <div class="newprd-s7" style="display: none;"><div class="table-div"><iframe marginwidth=0 marginheight=0 width=800px height=600 frameborder=0 src=""></iframe></div></div>
</div>

<?php print drupal_render_children($form); ?>

